<?php

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of InitialValue
 *
 * @author PONGPON
 */
class InitialValue {

    static public function initial($toppicName) {
        //error_reporting(E_ALL);
        //error_reporting(E_ALL & ~E_STRICT & ~E_DEPRECATED);
        error_reporting(E_ALL & ~E_STRICT & ~E_DEPRECATED & ~E_NOTICE);
        ob_start();
        session_start();
        if (!isset($_SESSION['username'])) {
            $_SESSION['username'] = "";
        }
        $_SESSION['toppicname'] = $toppicName;
    }

}

?>
